<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title></title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <link rel="shortcut icon" href="favicon.ico"> 
    
    <link href="__STATIC__/layout/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="__STATIC__/layout/css/font-awesome.css?v=4.4.0" rel="stylesheet">
     <!-- jqgrid-->
    <link href="__STATIC__/layout/css/animate.css" rel="stylesheet">
    <link href="__STATIC__/layout/css/style.css?v=4.1.0" rel="stylesheet">
    <link href="__STATIC__/layout/css/gyq.css" rel="stylesheet">
    <link rel="stylesheet" href="__STATIC__/layout/css/demo.css" type="text/css">
</head>

<body style="color:#333;padding:3px;">
    <!-- 标题 -->
    <div class="page-heade">
      <h2 class="title_color text-center">累积费用列表</h2>
    </div>
    <!-- 标题 -->
    <div >
    <form action="" class="form-inline">
      <table class="row-margin-top tab-content table-bordered table" border="1">
          <tr>
            <td>
                 <button class="btn btn-info LendExcel" type="button" onclick="dc()">导出Excel</button>
                 <button class="btn btn-info " type="button" onclick="back()">返回</button>
            </td>
          </tr>
      </table>
    
      <table class="table row-margin-top table-bordered table-hover text-right bud_hei">
          <tr>
            <th class="text-right" colspan="16">单位：元</th>
          </tr>
          <tr class="info">
            <th class="text-center">序号</th>
            <th class="text-center">年度</th>
            
            <th class="text-center">预提总额</th>
            <th class="text-center">核销总额</th>
            <th class="text-center">支付总额</th>
            <th class="text-center">预付总额</th>
            <th class="text-center">预付转支付总额</th>
            <th class="text-center">预付余额</th>
            <th class="text-center">预提余额</th>
          </tr>
         {volist name="datas" id="vo"}
         <tr>
            <th class="text-center">{$i}</th>
            <th class="text-center ">{$vo.title}</th>
            
            <th class="text-center ObjectNum jisuan1">{$vo.yuti}</th>
            <th class="text-center ObjectNum jisuan2">{$vo.hexiao}</th>
            <th class="text-center ObjectNum jisuan3">{$vo.zhifu}</th>
            <th class="text-center ObjectNum jisuan4">{$vo.zongyu}</th>
            <th class="text-center ObjectNum jisuan5">{$vo.zhuan}</th>
            <th class="text-center ObjectNum jisuan6">{$vo.shengyu}</th>
            <th class="text-center ObjectNum jisuan7">{$vo.ytye}</th>
          </tr>
         {/volist}
         <tr class="trTotal1">
            <td colspan="2" class="text-right">合计</td>
            <td class="ObjectNum zonghe1">19688.11</td>
             <td class="ObjectNum zonghe2">0</td>
            <td class="ObjectNum zonghe3">0</td>
            <td class="ObjectNum zonghe4">0</td>
            <td class="ObjectNum zonghe5">0</td>
            <td class="ObjectNum zonghe6">0</td>
            <td class="ObjectNum zonghe7">19688.11</td>
          </tr>
      </table>
      <table class="row-margin-top colorRed" style="margin-left: 10px">
            <tr>
            <td>说明：</td>
            </tr>
            <tr>
            <td>1.支付总额 = 支付+预付转支付总额</td>
            </tr>
             <tr>
            <td>2.支付增值税总额 = 支付增值税+预付转支付增值税</td>
            </tr>
             <tr>
            <td>3.余额 = 预提总额-支付总额</td>
            </tr>
             <tr>
            <td>4.预付余额 =预付总额-(预付转支付总额+预付转支付增值税)</td>
            </tr>
      </table>
</form>
    </div>
    <!-- 全局js -->
    <script src="__STATIC__/layout/js/jquery.min.js?v=2.1.4"></script>
    <script src="__STATIC__/layout/js/bootstrap.min.js?v=3.3.6"></script>
    <!-- <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script> -->
    <script src="__STATIC__/layout/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
     <script src="__STATIC__/layout/js/common.js"></script>
    <script>
    function back(){
      location.href="{:url('monthduizhang')}";
    }
            $(document).ready(function(){
              for(var i=1;i<=7;i++){
                var he=0;
                $(".jisuan"+i).each(function(){
                    he+=parseFloat($(this).html());
                })
                $(".zonghe"+i).html(he.toFixed(2));
              }
            var $ObjectNum =$(".ObjectNum");
               toNum($ObjectNum);
        })
            function dc(){
              window.open("{:url('daochuleijiall')}");
            }

    </script>
</body>

</html>
